package com.pengshun.modules.api.user.service.dto;

import com.pengshun.modules.api.transport.dto.CarNumberDto;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

@Data
@NoArgsConstructor
public class AllotDto {

    private BigDecimal totalNum;

    private BigDecimal allotNum;

    private BigDecimal surplusNum;

    private Long transportTakeOrderId;
    private Long userId;

    private List<CarNumberDto> carDrivingDtos;

    public AllotDto(BigDecimal totalNum, BigDecimal allotNum, BigDecimal surplusNum, List<CarNumberDto> carDrivingDtos) {

        this.totalNum = totalNum;
        this.allotNum = allotNum;
        this.surplusNum = surplusNum;
        this.carDrivingDtos = carDrivingDtos;
    }
}
